<?php
include_once($_SERVER['DOCUMENT_ROOT'] . '/smartrfid/model/repairHistory.php');


$itemId = $_GET['itemId'];
$description = $_GET['description'];

$r=new RepairHistory();
$r->description = $description;
$r->item_id = $itemId;
$result = $r->insert();

?>
